package VN.EDU.IMIC.DEVELOPER.TRANTHITHANHNGA.ARRAY.EX09;

import java.util.Scanner;

public class Views {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int[][] workingHour = new int[8][7];

		for (int i = 0; i < workingHour.length; i++) {
			System.out.println("+Employee [" + i + "]");
			for (int j = 0; j < workingHour[i].length; j++) {
				workingHour[i][j] = in.nextInt();
			}
		}

		Controllers cObj = new Controllers();
		int[] kq = new int[cObj.yieldTotalHour(workingHour).length];
		kq = cObj.yieldTotalHour(workingHour);
		for (int k = 0; k < kq.length; k++) {
			System.out.println("Employee [" + k + "] = " + kq[k]);
		}

	}
}
